package com.tuozixuan.model;

import org.apache.poi.hpsf.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;

public class Member {

	@Excel(name = "ID", width = 10)
	private Long id;
	
	@Excel(name = "用户名", width = 20, needMerge = true)
	private String username;
	
	private String password;
	@Excel(name = "昵称", width = 20, needMerge = true)
	
	private String nickname;
	@Excel(name = "出生日期", width = 20, format = "yyyy-MM-dd")
	
	private Date birthday;
	@Excel(name = "手机号", width = 20, needMerge = true, desensitizationRule = "3_4")
	
	private String phone;
	
	private String icon;
	
	@Excel(name = "性别", width = 10, replace = { "男_0", "女_1" })
	private Integer gender;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

}
